<?php
class Settings extends Database
{
    public function noti_settings($uID,$type){
        $get_noti = $this->query("SELECT * FROM tbprivacy WHERE user_id={$this->escape($uID)}
                                   AND type={$this->escape($type)}
                                   AND is_active={$this->escape(1)}","row");
            
        $json_decode = json_decode($get_noti['json'],true);
        return $json_decode;
    }

}



